/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mvp.levelup.oop.model;

import java.util.Date;

/**
 *
 * @author WORKSPOT2
 */
public abstract class User
{
    protected int id;
    protected String name;
    protected String secondName;
    protected Date created;

    protected User(int id, String name, String secondName)
    {
        this.id = id;
        this.name = name;
        this.secondName = secondName;
        this.created = new Date();
        init();
    }

    public int getId()
    {
        return id;
    }

    public String getName()
    {
        return name;
    }

    public String getSecondName()
    {
        return secondName;
    }

    public Date getCreated()
    {
        return created;
    }
    
    public abstract void init();
}
